﻿<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>添加投票</title>
<link href="skin/default/css/css.css" rel="stylesheet" type="text/css">

</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
#parse("/inc/top.htm")
<table width="98%" border="0" align="center" cellpadding="0"
	cellspacing="8" class="cn_12px">
	<tr>
		<td><strong>新投票</strong><br>
		</td>
		<td>
		<div align="right"></div>
		</td>
	</tr>
</table>
<form name="EditForm" method="post" action="bbsvote.do?parameter=add">
<table width="775" border="0" align="center" cellpadding="0"
	cellspacing="0">
	<tr>
		<td width="98%" height="433" valign="top">
		<div align="center">
		<input type="text" name="dirid" value="$!dirid" />
		<input type="text" name="itemnum" value="$!itemnum" /> 
		<table width="98%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td height="31" colspan="2">&nbsp;</td>
			</tr>
			<tr align="center">
				<td height="25" colspan="2"><strong><font color="#0099CC">投票信息</font></strong></td>
			</tr>
			<tr align="center">
				<td colspan="2" class="news_text">&nbsp;</td>
			</tr>
			<tr>
				<td colspan="2"><img src="images/line.gif" width="100%" height="1"></td>
			</tr>
			
			<tr>
				<td width="150" align="right"><span class="cn_12px"><strong><font
					color="#666666">标题：</font></strong></span></td>
				<td valign="middle" class="cn_12px"><input name="title"
					type="text" size="25" > <font
					color="#FF0000">*</font></td>
			</tr>
			
			<tr>
				<td width="150" align="right"><span class="cn_12px"><strong><font
					color="#666666">内容：</font></strong></span></td>
				<td valign="middle" class="cn_12px"><textarea name="info" cols="30"
					rows="5" ></textarea> <font color="#FF0000"></font></td>
			</tr>
			#foreach($num in $nums)
			<tr>
				<td width="150" align="right"><span class="cn_12px"><strong><font
					color="#666666">选项$!num：</font></strong></span></td>
				<td valign="middle" class="cn_12px"><input name="item$!num"
					type="text" size="25" > <font color="#FF0000"></font></td>
			</tr>
			#end
				
			<tr>
				<td colspan="2">&nbsp;</td>
			</tr>
			<tr align="center">
				<input type="submit" name="Submit" value="确定" >　
　				<input type="reset" name="Submit22" value="返回"
					onClick="history.go(-1);"></td>
			</tr>
		</table>
		<p class="cn_12px">&nbsp;</p>
		</td>
	</tr>
</table>
</form>
<hr align="center" width="98%">
#parse("/inc/foot.htm")
</body>
</html>

